package com.atguigu.day12.interface04.in2;

public interface A {
    public static final int NUM = 66;

    void eat();

    static void show() {
        System.out.println("A show()");
    }

    public default void sleep() {
      a();
    }
    public default void drink() {
       a();

    }
   //私有方法
    private void a() {
        System.out.println("AAAA");
        System.out.println("BBB");
        System.out.println("CCC");
        System.out.println("DDD");
    }


}

class C implements A {
    @Override
    public void eat() {
    }

    @Override
    public void sleep() {

    }
}

class D implements A {
    @Override
    public void eat() {
    }

    @Override
    public void sleep() {

    }
}

class E implements A {
    @Override
    public void eat() {
    }
}
